package com.umeng.soexample.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 社区实体类
 */
public class CommunityEntity extends BaseEntity {

    public final static int Community0 = 10001;
    public final static int Community1 = 10002;

    public List<ValuesBean> values;



    public static class ValuesBean implements MultiItemEntity {
        /**
         * community_id : 1
         * user_id : 1
         * title : 王忠华上头条
         * community_values : 头条王忠华
         * community_time : 1553436563
         * tag : 华仔
         * hot_flag : 1
         * fabulous : 100
         * collection : 20
         * 0 : [{"community_img_id":"1","community_id":"1","img_path":"/goods_img/goods_img_1"},{"community_img_id":"2","community_id":"1","img_path":"/goods_img/goods_img_2"},{"community_img_id":"3","community_id":"1","img_path":"/goods_img/goods_img_3"},{"community_img_id":"4","community_id":"1","img_path":"/goods_img/goods_img_4"},{"community_img_id":"5","community_id":"1","img_path":"/goods_img/goods_img_5"},{"community_img_id":"6","community_id":"1","img_path":"/goods_img/goods_img_6"},{"community_img_id":"7","community_id":"1","img_path":"/goods_img/goods_img_7"},{"community_img_id":"8","community_id":"1","img_path":"/goods_img/goods_img_8"},{"community_img_id":"9","community_id":"1","img_path":"/goods_img/goods_img_9"}]
         */

        public int itemType;

        public String community_id;
        public String user_id;
        public String title;
        public String community_values;
        public String community_time;
        public String tag;
        public String hot_flag;
        public String fabulous;
        public String collection;
        @SerializedName("0")
        public List<_$0Bean> _$0;

        @Override
        public int getItemType() {
            return itemType;
        }

        public static class _$0Bean {
            /**
             * community_img_id : 1
             * community_id : 1
             * img_path : /goods_img/goods_img_1
             */

            public String community_img_id;
            public String community_id;
            public String img_path;
        }
    }
}
